﻿Imports System
Imports System.Web.Profile
Imports System.Web.Security

Public Class UserProfile
    Inherits ProfileBase

#Region "Properties"
    <SettingsAllowAnonymous(False)> _
    Public Property FirstName As String
        Get
            Return MyBase.Item("FirstName").ToString()
        End Get
        Set(ByVal value As String)
            MyBase.Item("FirstName") = value
        End Set
    End Property

    <SettingsAllowAnonymous(False)> _
    Public Property LastName As String
        Get
            Return MyBase.Item("LastName").ToString()
        End Get
        Set(ByVal value As String)
            MyBase.Item("LastName") = value
        End Set
    End Property


    <SettingsAllowAnonymous(False)> _
    Public Property EmailAddress As String
        Get
            Return MyBase.Item("EmailAddress").ToString()
        End Get
        Set(ByVal value As String)
            MyBase.Item("EmailAddress") = value
        End Set
    End Property


    <SettingsAllowAnonymous(False)> _
    Public Property PhoneNumber As String
        Get
            Return MyBase.Item("PhoneNumber").ToString()
        End Get
        Set(ByVal value As String)
            MyBase.Item("PhoneNumber") = value
        End Set
    End Property

    Public ReadOnly Property FullName As String
        Get
            Return FirstName + " " + LastName
        End Get
    End Property
#End Region

End Class
